DOMDocument
PHP Manual

DOMDocument::createTextNode

(PHP 5)

DOMDocument::createTextNodeCreate new text node

Descripción

DOMText DOMDocument::createTextNode ( string $content )

This function creates a new instance of class DOMText. Este nodo no sera mostrado en el documento a no ser que sea introducido por ejemplo con DOMNode->appendChild().

Lista de parámetros

content

The content of the text.

Valores retornados

The new DOMText or FALSE if an error occured.

Ver también


DOMDocument
PHP Manual